import BaseResponse from './base_response';
class SuccessResponse extends BaseResponse {
    data;
    constructor(data: any, message: string = '') {
        super(0, message);
        this.data = data;
    }
}

class ErrorResponse extends BaseResponse {
    constructor(status: number, message: string) {
        super(status, message);
    }
}
export default {
    SuccessResponse: SuccessResponse,
    ErrorResponse: ErrorResponse,
};
